<?php
	$db = new model_meterials;
	$id = $_GET['uid'];
	$db->del_meterials("nguyenlieu",$id);
	echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
	echo '<script>alert("Xóa thành công !");window.location.href="index.php?mod=meterials&act=list";</script>';
	exit();